Platform Explorer / Nuxeo Platform 6.0

Operation Document.Lock (Lock)

Description

Lock the input document for the current user. Returns back the locked document.
Operation id Document.Lock
Category Document
Label Lock
Requires
Since

Parameters

Name Description Type Required Default value
owner string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.LockDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.Lock",
  "label" : "Lock",
  "category" : "Document",
  "requires" : null,
  "description" : "Lock the input document for the current user. Returns back the locked document.",
  "url" : "Document.Lock",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "owner",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}